// 分类数据
export interface ICategory {
  id: string
  name: string
  picture: string
  children: ICategory[] | null
  goods: Good[] | null
  saleInfo?: string
}

export interface Category {
  id: string
  name: string
  children: CategoryChild[]
  picture: string
}

// 二级分类下属分类数组
export interface CategoryChild {
  id: string
  name: string
  picture: string
  parentId: string
  parentName: string
  goods: Good[]
  categories: Categories[]
  brands: null
  saleProperties: null
}

// 分类集合
export interface Categories {
  id: string
  layer: number
  name: string
  parent: string
}
